package com.wrh.draw.layer.shap;

import java.awt.*;
import java.awt.geom.Ellipse2D;

/**
 * @author wrh
 */
public class CircleMarker implements MarkerShape {

    @Override
    public void draw(Graphics2D g, Point point) {
        g.setColor(Color.BLACK);
        g.setStroke(new BasicStroke(2));
        g.draw(new Ellipse2D.Double(point.getX(), point.getY(), 10, 10));
    }

}
